package com.xxy.crm.dao;

import com.xxy.crm.base.BaseMapper;
import com.xxy.crm.vo.Customer;

import java.util.List;

public interface CustomerMapper extends BaseMapper<Customer,Integer> {
    //根据姓名查询用户
    Customer queryCustomerByName(String name);

    Integer updateById(Integer id);
    //查询待流失的客户数据
    List<Customer> queryLossCustomers();
    //批量更新用户状态
    int updateCustomerStateByIds(List<Integer> lossCustomerIds);
}